﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Web;

namespace gAMS_Sacombank.Web.Services.AssetManagement.Interfaces.AssCommon
{
    [ServiceContract]
    public interface ISupplier
    {
        [OperationContract]
        IEnumerable<CM_SUPPLIER> GetByAllSupplier();

        [OperationContract]
        String InsertSupplier(CM_SUPPLIER data);

        [OperationContract]
        String UpdateSupplier(CM_SUPPLIER data);

        [OperationContract]
        String DeleteSupplier(string id);

        [OperationContract]
        IEnumerable<CM_SUPPLIER> GetByTopSupplier(string _top, string _where, string _order);

        [OperationContract]
        String ApproveSupplier(CM_SUPPLIER data);
    }
}